﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;

namespace FanaticRock.Theme.Helpers
{
    public static class ButtonHelper
    {
        public static ICommand GetCommandA(DependencyObject obj) { return (ICommand)obj.GetValue(CommandAProperty); }

        public static void SetCommandA(DependencyObject obj, ICommand value) { obj.SetValue(CommandAProperty, value); }

        public static readonly DependencyProperty CommandAProperty = DependencyProperty.RegisterAttached("CommandA", typeof(ICommand), typeof(ButtonHelper), new PropertyMetadata(null));

        public static ICommand GetCommandB(DependencyObject obj) { return (ICommand)obj.GetValue(CommandBProperty); }

        public static void SetCommandB(DependencyObject obj, ICommand value) { obj.SetValue(CommandBProperty, value); }

        public static readonly DependencyProperty CommandBProperty = DependencyProperty.RegisterAttached("CommandB", typeof(ICommand), typeof(ButtonHelper), new PropertyMetadata(null));

        public static ICommand GetCommandC(DependencyObject obj) { return (ICommand)obj.GetValue(CommandCProperty); }

        public static void SetCommandC(DependencyObject obj, ICommand value) { obj.SetValue(CommandCProperty, value); }

        public static readonly DependencyProperty CommandCProperty = DependencyProperty.RegisterAttached("CommandC", typeof(ICommand), typeof(ButtonHelper), new PropertyMetadata(null));



    }
}
